package com.zb.springboot_zb_sql.bean;


import java.util.List;

public class Users {

  private Long userId;
  private String userName;
  private String userPassword;
  private List<Role> roles;




  @Override
  public String toString() {
    return "Users{" +
            "userId=" + userId +
            ", userName='" + userName + '\'' +
            ", userPassword='" + userPassword + '\'' +
            ", roles=" + roles +
            '}';
  }


  public void setRoles(List<Role> roles) {
    this.roles = roles;
  }
  public List<Role> getRoles() {
    return roles;
  }
  public Users() {
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }

}
